package com.starchen.optimalselection.admin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author daxilong
 * @date 2025/3/21 17:37
 */
@Data
@ApiModel(description = "用户角色关系表")
@TableName("admin_user_role")
public class AdminUserRole {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

}
